package com.ruoyi.common.base.user.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.customize.util.serializer.BigDecimalToPlainStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 用户对象 user
 *
 * @author gdk
 * @date 2023-05-15
 */
@Data
public class UserInviteAppVO {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 角色（0普通用户,1代理）
     */
    private String role;

    @JsonSerialize(using = BigDecimalToPlainStringSerializer.class)
    private BigDecimal dividend;
}
